/*
 * File: AddIntegerList.cpp
 * ------------------------
 * This program adds a list of integers.  The end of the
 * input is indicated by entering a sentinel value, which
 * is defined by setting the value of the constant SENTINEL.
 */
#include <iostream>
#include "classtest.h"
#include "stack.h"

using namespace std;
/*
 * Constant: SENTINEL
 * ------------------
 * This constant defines the value used to terminate the input
 * list and should therefore not be a value one would want to
 * include as a data value.  The value 0 therefore makes sense
 * for a program that adds a series of numbers because the
 * user can simply skip any 0 values in the input.
 */
const int SENTINEL = 0;



int operate(int a,int b);
int operate(int a,float b);
int operate(int a ,float b,int c=1);

/* Main program */
int main() {
   cout << "This program adds a list of numbers." << endl;
   cout << "Use " << SENTINEL << " to signal the end." <<  endl;
//   int total = 0;
//   while (total<10) {
//      int value;
//      cout << " ? ";
//      cin >> value;
//      if (value == SENTINEL) break;
//      total += value;
//   }
//  cout << "The total is " << total << endl;
char a =(char)260;
char b=(char)240;
cout<<a<<b<<endl;
cout<<(a!=b);


cout<<operate(1,1.2F,1);
cin>>a;


   return 0;
}


int operate(int a ,float b){

	return 1;
}


int operate(int a, float b,int c=1){
	return 2;


}